package org.qh.ai.service.chat;

import org.qh.common.ai.entity.request.ChatRequest;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * 对话Service接口
 *
 * @author qianhong
 * @date 2025-04-08
 */
public interface IChatService {

    /**
     * 客户端发送消息到服务端
     * @param chatRequest 请求对象
     */
    SseEmitter chat(ChatRequest chatRequest, SseEmitter emitter);
    /**
     * 获取此服务支持的模型类别
     */
    String getCategory();
}
